﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PSSymbolStore.Manager
{
    public class ChoiceDescription
    {
        public string HelpMessage { get; set; }
        public string Label { get; set; }

        public static ChoiceDescription FromPSChoiceDescription(System.Management.Automation.Host.ChoiceDescription PSChoiceDescription)
        {
            return new ChoiceDescription()
            {
                HelpMessage = PSChoiceDescription.HelpMessage,
                Label = PSChoiceDescription.Label
            };
        }
    }
}
